package com.ys.service.purchase;


import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 采购预入库
 */
public interface TcgPurchasePreStorageService {

    //新增
    R add(Map<String, Object> params, Long menuId) throws Exception ;

    //修改
    R update(Map<String, Object> params, Long menuId) throws Exception ;

    //删除
    R del(Long id)throws Exception;

    //流转通过
    R flowPass(String bid,String userId) throws Exception;

    //流转驳回
    R flowRefuse(String bid, String reason,String userId) throws Exception;

    //流转退回
    R flowInit(String bid, String reason,String userId) throws Exception;

    //获取列表数据
    Map<String,Object> getExtraParam( String bid) throws Exception;

    //获取子列表数据
    List<Map<String, Object>> getItemList(String bid) throws Exception;
}